<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
		<title>{{title}}</title>
		<link rel="stylesheet" type="text/css" href="../wwwroot/bootstrap/css/bootstrap.css"/>	
		<link rel="stylesheet/less" type="text/css" href="search2.less"/>
		<link rel="stylesheet" type="text/css" href="../wwwroot/css/animate.css"/>
		<script src="less.js" type="text/javascript" charset="utf-8"></script>
		<script src="template1.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>

			<h1 >哇槽网<br />
				<small>吐你所吐</small>
			</h1>			
			<div id="searchDiv" class="container">
				<div id="">	
					<a id="goback" style="display:none;position: absolute;width: 30px;height: 30px;border-radius: 50%;background-color: white; left: 0px;top: 7px;color: lightcoral;line-height: 30px;text-align: center;">
						<span  class="glyphicon glyphicon-chevron-left" ></span>
					</a>
				 	<div class="ip">
						<input class="form-control" type="text" name="search" required id="search" value="" placeholder="请输入关键字或者ID" autocomplete="off" />
						<a  id="searchBtn" for="phone" ><span class="glyphicon glyphicon-search"></span></a>
					</div>
					<span class="badge dataCount" style="position: absolute;right: 0;bottom: 10px;display: none;">10</span>
					<ul id="recommend">
						<li ><a  class="form-control"><span class="glyphicon glyphicon-time pull-left" data-sectionId="10"></span>我的世界</a></li>
						<li ><a  class="form-control"><span class="glyphicon glyphicon-search pull-left"></span>天晴了</a></li>
						<li ><a  class="form-control"><span class="glyphicon glyphicon-time pull-left"></span>哈哈哈</a></li>
						<li style="width: 100%;height: 100px;text-align: center;background-color: white;line-height: 100px;border-radius: 0 0 5px 5px;">找不到相关的搜索内容</li>
					</ul>
				</div>	
			</div>	
		<!--<div class="search-content" >-->
			
			<section id="data-content" style="display: none;">
				
					<ul class="list-group" style="margin: 0;">
						<li class="list-group-item moveTheme" >
							<div class="list-group-item-heading">
								<span class="sectionID">eqweq</span> <span class="pull-right sectionTime">2017-10-10</span>
							</div>
							<div class="list-group-item-text messageCon">
								<div class="author">
									
									<img src="../wwwroot/bootstrap/img/282a35fae6cd7b897af70f3b0a2442a7d8330e98.jpg" class="authorPhoto"/>
									<p>author:</p>
									<p class="userID">ndawidnawi</p>
								</div>
								<div class="message">
										dawdawawdhadwadadadadwadwahiduahiduhawihdiauwhdiuahwiduhawidhwaiudhawihdiuawhiddwanudahwudhawiuhdwaiuhdiwauhdiauhdwiuhawiuhiuwdhiuuwhidwhindawhduiahwdiuhawidhaidhaiwhdiawhdiwahiduwhiudwhiwawdawdadawdawdawdadwadawdawwwudhadiaw									
								</div>
							</div>
							<div class="list-group-item-text listFooter">
								<span class="glyphicon glyphicon-heart-empty likeWC"  ></span><span class="favaCount">11</span>
								<div class="pull-right">
									<span class="glyphicon glyphicon-envelope readWC" ></span><span class="readCount">10</span>
								</div>
								
							</div>
						</li>
						<li class="list-group-item">
							<div class="list-group-item-heading">
								<span class="">eqweq</span> <span class="pull-right timer">2017-10-10</span>
							</div>
							<div class="list-group-item-text messageCon">
								<div class="author">
									
									<img src="../wwwroot/bootstrap/img/282a35fae6cd7b897af70f3b0a2442a7d8330e98.jpg" class="authorPhoto"/>
									<p>author:</p>
									<p>ndawidnawi </p>
								</div>
								<div class="message">
										dawdawawdhadwadadadawdawdadawdawdawdadwadawdawwwudhadiaw									
								</div>
							</div>
							<div class="list-group-item-text listFooter">
								<span class="glyphicon glyphicon-heart-empty likeWC" ></span><span class="favaCount">10</span>
								<div class="pull-right">
									<span class="glyphicon glyphicon-envelope readWC"></span><span class="readCount">10</span>
								</div>
								
							</div>
						</li>
						<li class="list-group-item">
							<div class="list-group-item-heading">
								<span class="">eqweq</span> <span class="pull-right timer">2017-10-10</span>
							</div>
							<div class="list-group-item-text messageCon">
								<div class="author">
									
									<img src="../wwwroot/bootstrap/img/282a35fae6cd7b897af70f3b0a2442a7d8330e98.jpg" class="authorPhoto"/>
									<p>author:</p>
									<p>ndawidnawi </p>
								</div>
								<div class="message">
										dawdawawdhadwadadadawdawdadawdawdawdadwadawdawwwudhadiaw									
								</div>
							</div>
							<div class="list-group-item-text listFooter">
								<span class="glyphicon glyphicon-heart-empty"></span><span class="favaCount">10</span>
								<div class="pull-right">
									<span class="glyphicon glyphicon-envelope "></span><span class="readCount">10</span>
								</div>
								
							</div>
						</li>
						<li class="list-group-item">
							<div class="list-group-item-heading">
								<span class="">eqweq</span> <span class="pull-right timer">2017-10-10</span>
							</div>
							<div class="list-group-item-text messageCon">
								<div class="author">
									
									<img src="../wwwroot/bootstrap/img/282a35fae6cd7b897af70f3b0a2442a7d8330e98.jpg" class="authorPhoto"/>
									<p>author:</p>
									<p>ndawidnawi </p>
								</div>
								<div class="message">
										dawdawawdhadwadadadawdawdadawdawdawdadwadawdawwwudhadiaw									
								</div>
							</div>
							<div class="list-group-item-text listFooter">
								<span class="glyphicon glyphicon-heart-empty"></span><span class="favaCount">10</span>
								<div class="pull-right">
									<span class="glyphicon glyphicon-envelope "></span><span class="readCount">10</span>
								</div>
								
							</div>
						</li>
					</ul>
				
				<footer class="loading">
					<div >
							<span class="glyphicon glyphicon-cloud-upload iconM"></span><span class="loadText">上拉加载</span>						
					</div>
				</footer>
			</section>
		<!--</div>-->			
			
		<div class="shortcutBtn" style="display: none;">
			<div class="container">
				<span id="backTop" class="glyphicon glyphicon-chevron-up"></span>
				<span id="backBottom" class="glyphicon glyphicon-chevron-down"></span>
			</div>
		</div>
		
		<section >
			<div class="btn-group" id="nav" style="display: none;" >
				<a href="index3.html" class="btn btn-default" ><span class="glyphicon glyphicon-home"></span></a>
				<a href="post.html" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span></a>
				<a href="userInfo.html" class="btn btn-default"><span class="glyphicon glyphicon-user"></span></a>
			</div>
		</section>
		
	</body>
</html>
<script id="recommendSection" type="text/html">
	{{each recommendTitle as data index}}
		<li>
			<a href="" class="form-control">
			<span class="glyphicon glyphicon-search pull-left" data-sectionId={{data.sectionId}}></span>{{data.title}}
			</a>
		</li>		
	{{/each}}
</script>
<script id="mainTemplate" type="text/html">
	<ul class="list-group" style="margin: 0;">
	{{each sectionContent as data index }}
			<li class="list-group-item moveTheme">
				<div class="list-group-item-heading">
					<span class="sectionID">{{data.sectionID}}</span> 
					<span class="pull-right sectionTime">{{data.sectionTime}}</span>
				</div>
				<div class="list-group-item-text messageCon">
					<div class="author">
						
						<img src="{{data.authorPhoto}}" class="authorPhoto"/>
						<p>author:</p>
						<p class="userID">{{data.userID}}</p>
					</div>
					<div class="message">
						{{data.message}}									
					</div>
				</div>
				<div class="list-group-item-text listFooter">
					<span class="glyphicon glyphicon-heart-empty likeWC" ></span>
					<span class="favaCount">{{data.favaCount}}</span>
					<div class="pull-right">
						<span class="glyphicon glyphicon-envelope readWC" ></span>
						<span class="readCount">{{data.readCount}}</span>
					</div>					
				</div>
			</li>
	{{/each}}
	</ul>
</script>
<script src="../wwwroot/libs/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../wwwroot/bootstrap/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
<script src="search2.js" type="text/javascript" charset="utf-8"></script>
